snippet print
	fmt.Printf(${1});
# 流程控制
snippet if
	if ${1:condition} {
		${2:/* code */}
	}
snippet ifelse
	if ${1:condition} {
		${2:/* code */}
	} else {
		${3}
	}
snippet else
	else {
		${1}
	}
snippet switch
	switch ${1:Expr} {
		case ${2:expr1}: 
		default: ${3:expr2}
	}
snippet for
	for i := 0; i < ${1:100}; i++ {
		${2://...}
	}
# 方法函数
snippet func
	func ${1:name}() {
		${2}
	}
snippet main
	func main() {
		${1:/* code */}
	}
snippet error
	if err != nil {
		log.Fatal(err)
	}
	
